package com.doumuxie.frame;

import javax.swing.*;
import javax.swing.table.DefaultTableModel;

/**
 * @author doumuxie https://gitee.com/doumuxie/
 * @version 1.0
 * @date 2020/9/26 9:03
 * @description 自定义表格
 **/
public class MyTable extends JTable {

    public MyTable(DefaultTableModel model) {
        super(model);
    }

    public MyTable(Object[][] object1, Object object2[]) {
        super(object1, object2);
    }

    @Override
    public boolean isCellEditable(int row, int column) {
        return false;
    }

}
